﻿package org.ilanchong.droidcontroller.ui;

import org.ilanchong.droidcontroller.ComputerInfo;


public class ComputerResultInfo implements IResultInfo {
	private ComputerInfo mComputer = new ComputerInfo();
	private boolean mResult = false;
	private String mMessage = "";
	
	public ComputerResultInfo(boolean result, String message, ComputerInfo computer){
		mResult = result;
		mMessage = message;
		mComputer = computer;
	}
	
	@Override
	public void setResult(boolean result) {
		// TODO Auto-generated method stub
		this.mResult = result;
	}
	@Override
	public void setMessage(String message) {
		// TODO Auto-generated method stub
		this.mMessage = message;
	}
	@Override
	public boolean getResult() {
		// TODO Auto-generated method stub
		return mResult;
	}
	@Override
	public String getMessage() {
		// TODO Auto-generated method stub
		return mMessage;
	}
	
	public void setComputer(ComputerInfo computer){
		this.mComputer = computer;
	}
	
	public ComputerInfo getComputer() {
		return this.mComputer;
	}
	

}
